import request from '@/utils/request';

// 发起赔付
export async function auditPkgInfo(data) {
  return request('/luggage/h5/pkg/mobile/auditPkgInfo', {
    method: 'post',
    data,
  })
}

// 异常行李审核流程判断
export async function pkgAuditTypeJudge(data) {
  return request('/luggage/h5/pkg/mobile/pkgAuditTypeJudge', {
    method: 'post',
    data,
  })
}

// 获取部门人员信息
export async function getDeptUserInfo(params) {
  return request('/h5/dp/sys/getDeptUserInfo', {
    method: 'get',
    params,
  })
}

// 获取箱包管理下拉框列表-不分页
export async function listNone() {
  return request('/luggage/pkgManage/listNone', {
    method: 'get',
  })
}

// 修改赔偿单
export async function updatePkgOrder(data) {
  return request('/luggage/h5/pkg/mobile/updatePkgOrder', {
    method: 'post',
    data
  })
}
